package com.up.upzl.biz.service.impl;

import java.util.List;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.up.upzl.base.service.impl.BaseServiceImpl;
import com.up.upzl.biz.domain.Road;
import com.up.upzl.biz.repository.RoadRepository;
import com.up.upzl.biz.service.RoadService;

@Service
public class RoadServiceImpl extends BaseServiceImpl<Road, Long> implements RoadService {

	
	@Autowired
	private RoadRepository  roadRepository;

	@Override
	public List<Road> findByAreaId(Long area) {
		// TODO Auto-generated method stub
		return roadRepository.findByAreaId(area);
	}
	
	
}
